<?php 

$name = 'php';
$php = 'version';
$version = 'five';
$five = 'author';
$author = 'raasmus';

echo $name ; //php 

echo $$name ; // $name => php // $php => version

echo $$$name ; // five
